| Fully Qualified Name: | Laminas\View\Stream |
Stream wrapper to convert markup of mostly-PHP templates into PHP prior to include().
Based in large part on the example at http://www.php.net/manual/en/function.stream-wrapper-register.php
As well as the example provided at:
http://mikenaberezny.com/2006/02/19/symphony-templates-ruby-erb/
written by
Mike Naberezny (@link http://mikenaberezny.com)
Paul M. Jones (@link http://paul-m-jones.com)
| Name | Description | Defined By |
|---|---|---|
| stream_eof() | Tells if we are at the end of the stream. | Stream |
| stream_open() | Opens the script file and converts markup. | Stream |
| stream_read() | Reads from the stream. | Stream |
| stream_seek() | Seek to a specific point in the stream. | Stream |
| stream_stat() | Stream statistics. | Stream |
| stream_tell() | Tells the current position in the stream. | Stream |
| url_stat() | Included so that __FILE__ returns the appropriate info | Stream |
Tells if we are at the end of the stream.
Returns: bool
Opens the script file and converts markup.
| Parameter Name | Type | Description |
|---|---|---|
| $path | string | |
| $opened_path | ||
| $mode | ||
| $options | ||
| $opened_path |
Returns: bool
Reads from the stream.
| Parameter Name | Type | Description |
|---|---|---|
| $count | int |
Returns: string
Seek to a specific point in the stream.
| Parameter Name | Type | Description |
|---|---|---|
| $whence | ||
| $offset | ||
| $whence |
Returns: bool
Stream statistics.
Returns: array
Tells the current position in the stream.
Returns: int
Included so that __FILE__ returns the appropriate info
Returns: array